home *** CD-ROM | disk | FTP | other *** search
/ PD ROM 1 / PD ROM Volume I - Macintosh Software from BMUG (1988).iso / Electronic Messages / USEnet Digests / USEnet Vol. 3 / USEnet 3.068 < prev    next >
Encoding:
Text File  |  1988-04-08  |  26.2 KB  |  668 lines  |  [TEXT/ttxt]

  1. 29-Sep-87 10:23:22-PDT,27463;000000000001
  2. Date: Sat 12 Sep 87 11:07:54-EDT
  3. From: Jeff Shulman <SHULMAN@SDR>
  4. Subject: Usenet Mac Digest V3 #68
  5.  
  6. Usenet Mac Digest     Friday, September 11, 1987     Volume 3 : Issue 68 
  7.  
  8. Today's Topics:
  9.      MacVision = problems on SE
  10.      Digitize vs Scan?
  11.      SASI disk to Mac (Help Wanted)
  12.      HyperCard dialing # and *, debug command
  13.      Re: Changes to the MacBinary standard
  14.      A Surefire Way to Become Rich (using Hypercard)
  15.      Re: MenuBar in HyperCard
  16.      SuperSpool 4.0 for the Imagewriter
  17.      Ticking Mac
  18.      generic printer driver testers wanted
  19.      Re: FEdit corrections for the BatteryPak Calendar DA
  20.      Disable SE internal harddisk
  21.      VLSI tools on Mac-2's?
  22.      MPW C 2.0 interfaces into ColorQuickDraw
  23.      Scientific graphics desperately wanted
  24.      Re: Rotation Algorithm wanted
  25.      Re: VLSI tools on Mac-2's?
  26.  
  27. ---------------------------------------------------------------------- 
  28.  
  29. From: kleef@cs.vu.nl (Patrick van Kleef)
  30. Subject: MacVision = problems on SE
  31. Date: 8 Sep 87 00:26:02 GMT
  32. Organization: V.U. Informatica, Amsterdam, the Netherlands
  33.  
  34. How I love those cheap offers... Just bought myself a MacVision
  35. video-digitizer for the Mac and decided to capture some of my favorite
  36. video images (myself being on the top of the list ;).
  37.  
  38. I figured I might run into some trouble, as the MacVision was designed
  39. for the 'skinny' Mac, relying on a DB-9 connector, providing the device
  40. with 9 and 12 V. power. But this was only a temporary problem as I made
  41. my own power adapter (and DB-9 to Din-8 connector).
  42.  
  43. Eureka, it worked! That is to say: the picture came on screen, but any
  44. attempt to move my mouse, touch a key (like the manual suggested)
  45. resulted in a formidable system-hangup. MacVision doesn't agree with ADB
  46. style user input (or so it seems).
  47.  
  48. Does any1 out there have a more recent than 1.0 version of MacVision?
  49. Please E-mail it to me (pretty please?). Is there any patch? Would be
  50. much appreciated, since I plan to use digitized images for the _main_
  51. computer exhibition in Holland (oh well, Holland... ;)
  52.  
  53. Paul
  54.  
  55. BTW: Bill Atkinson is the man who wrote the MacVision software. He must
  56. have plenty of time now HyperCard is finished.. he might update his
  57. MacVision software :-))
  58.  
  59.  
  60. ------------------------------
  61.  
  62. From: howard@mtunj.ATT.COM (H. Moskovitz)
  63. Subject: Digitize vs Scan?
  64. Date: 8 Sep 87 12:52:41 GMT
  65. Organization: The Second Door on the Right
  66.  
  67. I am getting ready to put down some $$$ toward an image input device.
  68. Question is, should I go for a scanner (the Thunderscan in particular)
  69. or a video digitizer. I feel that the digitizer will give me greater
  70. flexibility; the question is at what cost to image quality.
  71.  
  72. I would like to hear from folks who have experience with both so that I
  73. can get an educated opinion as to the pro's and con's of each. Also, if
  74. anyone out there knows of an article either comparing scanner vs
  75. digitizer, or comparing the available digitizers (such as Koala
  76. MacVision or the MacMagic) please point me to the magazine and issue I
  77. can find it (them) in.
  78.  
  79. Thanks in advance.
  80. -- 
  81. -----------------------------------------------------------
  82.         Howard Moskovitz
  83.     AT&T Bell Labs @ Liberty Corner, NJ
  84.         ihnp4!io!howard
  85.  
  86.  
  87. ------------------------------
  88.  
  89. From: hvt@tnosel.UUCP (henq)
  90. Subject: SASI disk to Mac (Help Wanted)
  91. Date: 8 Sep 87 12:39:25 GMT
  92.  
  93. We connected an old  Xebex S1410 SASI controller and a CMI CM5619 19MB
  94. (unformatted) hard disk to an Macintosh SE HD. (we configured the drive
  95. as number 1).
  96.  
  97. Then we used the SF&I program of mister Vishniac to format the disk. It
  98. actually worked !. We made our own Mode Select Command to set up drive
  99. parameters as nr of cylinders and nr of heads.
  100.  
  101. After quitting the programming the drive was mounted and an icon showed
  102. up on the desktop of the finder.  We copied files to it and everything
  103. seemed to work just fine.
  104.  
  105. But... when we tried Apple utility 'Apple HD SC Setup' it didn't
  106. recognize the drive, and when we rebooted the Mac, the drive would not
  107. mount. The disk seems to be recognized only directly after formatting
  108. with SF&I.
  109.  
  110. Some additional remarks:
  111.  
  112. * We tried both the driver of mr Vishniac (made for Rodime 652 disks)
  113. and  the driver from Apple as supplied in the 'Vanilla' resources. No
  114. differences noted.
  115.  
  116. * We know there are some known problems with short scsi-reset timing,
  117. but what can you do about it.
  118.  
  119. * SASI <> SCSI, we know. For example we did not connect the ATN
  120. (Attention?) line from the Mac scsi-bus to the Xebex controller. Should
  121. it be connected ?
  122.  
  123. * We plan to use the drives (that we can get for free...) with our 512e
  124. mac,  with a Dove SCSI controller installed. Does this make any
  125. difference with connecting the drive to an SE ?
  126.  
  127. * When the Mac fires up (we use sys4.1/finder5.5) the harddisk
  128. frontpanel-light lights up. When running the Apple HD SC Setup, it
  129. lights only short and very dimmed (very short pulse, we assume).
  130.  
  131.  
  132.  
  133. So here's where we're stuck. We surely don't want to reformat the drive
  134. every time we boot :^)   so anyone knows of a solution ?  We appriciate
  135. any hints or tips or drivers software (either binary or c-source ). We
  136. do have both 'electrical mac' articals of MacTutor.
  137.  
  138.  
  139. Thanks in advance,
  140.  
  141. -Henk van Tijen   {mcvax!}hvt@tnosel
  142.         & -Marcel Blonk
  143.  
  144.  
  145. ------------------------------
  146.  
  147. From: winkler@apple.UUCP (Dan Winkler)
  148. Subject: HyperCard dialing # and *, debug command
  149. Date: 8 Sep 87 17:16:55 GMT
  150. Organization: Apple Computer, Inc., Cupertino, USA
  151.  
  152. The dial command in HyperCard 1.0.1 ignores # and *.  This is a bug
  153. which we have already fixed in our internal version and which will be
  154. fixed in the next rev of the product.  Until then, the only way around
  155. the problem is to use an XCMD.
  156.  
  157. The debug command in HyperCard 1.0.1 does nothing at all.  It is for
  158. development use only and is enabled by compile time flags when we build
  159. internal versions.  Note that because of the way inheritance works in
  160. HyperCard, you are free to make your own handlers or XCMD's of this same
  161. name or the name of any other built in command if you want.  Thus you
  162. will never have a name conflict between one of your own routines and a
  163. built in command you didn't know about nor will we ever break existing
  164. scripts by adding new built in commands.
  165.  
  166. Dan.
  167.  
  168.  
  169. ------------------------------
  170.  
  171. From: daveb@geac.UUCP (Brown)
  172. Subject: Re: Changes to the MacBinary standard
  173. Date: 8 Sep 87 13:16:34 GMT
  174. Organization: The little blue rock next to that twinkly star.
  175.  
  176. In article <16387@teknowledge-vaxc.ARPA> dplatt@teknowledge-vaxc.ARPA
  177. (Dave Platt) writes:
  178. >The following text describes some proposed enhancements to the
  179. >MacBinary file-transmission standard; ...
  180. >The format of the header for MacBinary II is as follows:
  181. >  Offset 000-Byte, old version number, must be kept at zero for compatibility
  182. >[discussion of how to infer version with 0 version number]
  183.  
  184.   You perhaps misunderstand the meaning/use of a version number.  Back
  185. in the days of the ARPANET and the Project MAC, they were invented to
  186. provide a transparent means of allowing programs to evolve.
  187.  
  188.   If there is only one version number (the common case), it is
  189. incremented to indicate to an old program that this is a new-format file
  190. (or packet!) and that it needs to execute its "exceptional case" code. 
  191. Often this meant is was to complain to a human and, in the case of
  192. translators, refrain from translating things into broken bits.  If the
  193. version number is not incremented, the program can process the
  194. file/packet, ***ignoring** present-but-unimplemented fields and still
  195. produce a valid packet/file.
  196.   If there is a two-part version number (rare) or there is a negotiation
  197. procedure (common on ARPANET/in Kermit) the program can use the
  198. additional information to read and interpret present-but-unimplemented
  199. fields, since it has just been "told" which ones are in use.
  200.  
  201.   Please do not publish a standard which does not have a mechanism for
  202. evolution and change.  The world will insist on changing...  
  203.   In the case of MacBinary, you may want to release a standard and a
  204. suite of programs which:
  205.   1) ignore present-but-unimplemented fields
  206.   2) provides a few for extension
  207.   3) has and uses version number of 0, but...
  208.   4) defines version 1 and can read all version 1 files
  209.   5) does not send version 1 until 1 january 19XX, then switches
  210.      automagically.
  211.  
  212.   Please feel free to contact me by mail, I will be glad to lend a hand
  213. (outside of working hours (:-})) at helping you improve the standard
  214. without breaking existing software.
  215.  
  216.  --dave (notice the quote below) c-b
  217. -- 
  218.  David Collier-Brown.                 {mnetor|yetti|utgpu}!geac!daveb
  219.  Geac Computers International Inc.,   |  Computer Science loses its
  220.  350 Steelcase Road,Markham, Ontario, |  memory (if not its mind)
  221.  CANADA, L3R 1B3 (416) 475-0525 x3279 |  every 6 months.
  222.  
  223.  
  224. ------------------------------
  225.  
  226. From: forrest@blia.BLI.COM (Jon Forrest)
  227. Subject: A Surefire Way to Become Rich (using Hypercard)
  228. Date: 8 Sep 87 21:32:05 GMT
  229. Organization: Britton Lee, Berkeley, CA
  230.  
  231. It's your lucky day. I'm going to tell you how to get rich. The first
  232. thing I thought of after having seen Hypercard was that it is the
  233. perfect way to computerize the Scott's stamp collectors catalogs. You
  234. could have a stack for each country. Each card would have a picture of
  235. the stamp along with its catalog number, price information, and quantity
  236. in collection. The graphics possibilities would make this very
  237. attractive to serious stamp collectors, although to do this right you'd
  238. have to work with Scott to get permission to digitize the pictures of
  239. the stamps. In fact, you'd want to work with Scott for other reasons.
  240.  
  241. Being basically lazy, plus not knowing a thing about Macs, I'm not going
  242. to do this. I'll probably be sorry.
  243.  
  244. Jon Forrest
  245.  
  246. ucbvax!mtxinu!blia!forrest {pyramid|voder}!blia!forrest
  247.  
  248.  
  249. ------------------------------
  250.  
  251. From: STORKEL@RICE.BITNET (Scott Storkel)
  252. Subject: Re: MenuBar in HyperCard
  253. Date: 8 Sep 87 18:53:01 GMT
  254. Organization: Rice University - ICSA
  255.  
  256. Currently, I know of no way to alter the menu bar directly from
  257. Hypertalk. It SHOULD, however, be possible to do this by writing and
  258. external command or function (see discussion of XCMD and XCFN
  259. resources). The external code would have to change the menu bar, handle
  260. processing of commands, and return a result to the Hypertalk script.
  261.  
  262. I'm not sure what kind of ramifications would be involved with disabling
  263. the normal Hypercard menus, so be careful. It would also seem that
  264. making a stack menu driven would be a pain in the neck, if there isn't a
  265. way to pass events on to Hypercard for processing. Example: If you're
  266. not in the menu processing code, then the menu does nothing. If you are,
  267. then card buttons get ignored by your menu routine. I don't have any
  268. docs for XCMD's and XCFN's yet, so I'm not sure if this is a problem or
  269. not.
  270.  
  271. Scott Storkel Rice University Macintosh Software Development Team
  272. (STORKEL@RICE.BITNET)
  273.  
  274. ------------------------------
  275.  
  276. From: jlc@atux01.UUCP (J. Collymore)
  277. Subject: SuperSpool 4.0 for the Imagewriter
  278. Date: 8 Sep 87 18:51:23 GMT
  279. Organization: AT&T CSEd/CET, Piscataway, N.J.
  280.  
  281. If you get the new 4.0 upgrade for the SuperSpool print spooler utility
  282. from SuperMac be careful when you try to move the printer queue to the
  283. Desk Accessories.
  284.  
  285. The problem is this:
  286.  
  287. Although when you click open the disk you will see a file there called: 
  288. Printer Queue 4.0), when you actually try moving it with the Font/DA
  289. mover you will see (upon opening it) the file name "SuperSpool"!  The
  290. programmers thought it would be a "good" idea to call the Printer Queue
  291. 4.0 file by the same name as the master program when you are using the
  292. Font/DA mover.  Do not panic!  Just move the file over anyway, you
  293. "shouldn't" damage anything (although you might be confused)!  I called
  294. SuperMac (the makers of SuperSpool), and chided them for this gross
  295. breach of good human factors rules (i.e. don't use redundant naming
  296. schemes in your programs).  They told me that nothing could be done
  297. about changing the naming problem in the software since hundreds of
  298. copies have already been made.  I then asked why they didn't put in a
  299. warning or notice about this in the release notes attached with the
  300. upgrade?  They said, that they would try to see if they could get all of
  301. those reprinted with a caveat to users on this naming confusion.
  302.  
  303.  
  304. Anyway, be aware of this situation.  I hope I've saved you some grief.
  305.  
  306.                         Jim Collymore
  307.  
  308.  
  309. ------------------------------
  310.  
  311. From: donch@tekirl.TEK.COM (Don Chitwood)
  312. Subject: Ticking Mac
  313. Date: 9 Sep 87 00:01:59 GMT
  314. Organization: Tektronix Inc., Beaverton, Or.
  315.  
  316.  
  317. My personal Mac at home has developed a rhythmic ticking, roughly a 1
  318. second cycle.  I opened the case yesterday and used a plastic
  319. stethoscope to home in on the sound.  It was coming from the transformer
  320. on the power supply board (the one mounted fairly low, and probably the
  321. main supply transformer.) Up close, I could discern the ticking to be
  322. more complex than I thought. It was like a 1 sec and a 1.2 second cycle
  323. superimposed on each other.  They would  phase in and out of synch in a
  324. repeatable manner.  I also discovered the sound  was carried by the
  325. speaker (earphones made that real clear), but was primarily coming from
  326. the tranny.
  327.  
  328. All solder joints on the board looked great, no signs of overheating
  329. anywhere.
  330.  
  331. Anyone know if this is a problem of concern, i.e. is a power-board
  332. imolation imminent?  If so, can I get a replacement transformer from
  333. apple?  If not, where is a replacement available?
  334.  
  335. Thanks in advance for any advice.
  336.  
  337. Don Chitwood Tektronix, Inc.
  338.  
  339.  
  340. ------------------------------
  341.  
  342. From: earleh@dartvax.UUCP (Earle R. Horton)
  343. Subject: generic printer driver testers wanted
  344. Date: 8 Sep 87 15:50:03 GMT
  345. Organization: disorganized
  346.  
  347. I have finally managed to create a working "Printer Resource File" so
  348. that I can print directly from WriteNow to either my Tandy DMP-110 or my
  349. Silver-Reed Penman Deluxe typewriter-printer.  It should work with any
  350. printer which satisfies certain minimal requirements which I will give
  351. below.  It should also work with any properly written Macintosh
  352. application which prints text.  I am looking for adventurous types who
  353. want to test it for me.  First, the requirements your printer must
  354. satisfy.  Second, the conditions for distribution.
  355.  
  356. This is a fully formed "Printer Resource File" according to the
  357. specifications in the PhoneBook version of IM and Technical Note 95.  It
  358. interacts with applications via the standard "Page Setup" and "Print..."
  359. dialogs.  In addition, when installing the driver using "Chooser" a
  360. dialog box is available to set baud rate and control strings for the
  361. printer.  When you use the Chooser, you can tell the driver what the
  362. printer uses for linefeed, formfeed, initialization, beginning of page,
  363. and end of file.  You can also tell it to use either CTS or Xon/Xoff
  364. flow control.  It should work with your printer if all of the following
  365. are true:
  366.  
  367.     a)  An ASCII character sequence is used to advance the paper by
  368.         one line.
  369.     b)  A page can be ejected, either by ASCII sequence or by you
  370.         cranking out the page by hand.
  371.     c)  The printer is capable of either CTS or Xon-Xoff flow control
  372.         or a low baud rate.
  373.     d)  The printer can be configured to print ASCII characters as
  374.         sent (i.e. Printer receives 'A', prints 'A' on the paper.)
  375.  
  376. The printing code assumes a non-proportional font, and six lines per
  377. inch. In the "Page Setup" dialog you specify 10, 12, or 15 characters
  378. per inch, and the driver communicates this to the Font Manager, so that
  379. word processors know roughly how many characters they can print on a
  380. line.  Best results are obtained when the entire document is formatted
  381. in one mono-spaced font, no stylistic variations, although the output is
  382. certainly readable otherwise.  I can obtain letter quality results from
  383. WriteNow using my Silver-Reed, but have not tested it extensively with
  384. other word processors.  Margins can be changed from within the word
  385. processor, within limits.  The printing code uses a standard 'PREC'
  386. resource to determine page size, so if you are really adventurous you
  387. can tinker with this using a resource editor.
  388.  
  389. The printer driver works with my 1 Meg "512ke" running System 4.1.  I
  390. have not tested it on any other machines.  It requires about 30k of
  391. memory for the printing code's use, since it buffers up a page in RAM
  392. before sending it to the printer.  It hasn't given me "la bombe" in at
  393. least two days.
  394.  
  395. The conditions for distribution are simple.  You send me email
  396. requesting a copy.  I send you a binhex of the printer driver.  After a
  397. month, you send me by email a report of your experiences, including a
  398. summary of  what programs you used it with, what kind of printer you
  399. have, and what (if any) bugs you would care to report.  Those who send
  400. interesting or valuable reports will receive the debugged, enhanced, or
  401. whatever "final" version.  Since I would like to have all the reports in
  402. by Christmas, this offer expires November 15.
  403. -- 
  404. *********************************************************************
  405. *Earle R. Horton, H.B. 8000, Dartmouth College, Hanover, NH 03755   *
  406. *********************************************************************
  407.  
  408.  
  409. ------------------------------
  410.  
  411. From: gross@watdcsu.waterloo.edu (Evan Gross [Sys Des])
  412. Subject: Re: FEdit corrections for the BatteryPak Calendar DA
  413. Date: 9 Sep 87 03:48:41 GMT
  414. Organization: U. of Waterloo, Ontario
  415.  
  416.  
  417. Thanks for posting the patch to the net. For those with a sector editor
  418. other than FEdit, the patch summarizes to the following:
  419.  
  420. Search for: 2D40 FFD6 and change it to: 2D48 FFD6
  421.  
  422. and then search for: 2D40 FFDA and change it to: 2D48 FFDA.
  423.  
  424. Use FEdit or some other sector editor to accomplish this. Use Font/DA
  425. Mover to create a new file and move JUST the Calendar desk accessory
  426. into it. Perform the changes on that file, then re-install.
  427.  
  428. And yes, it is true, there will finally be a major update to the
  429. BatteryPak package. It will be renamed and re-packaged, and will ship
  430. October 23rd. The new name of the package is "DiskTools Plus", and is
  431. named as such to highlight the totally new version of the DiskTools DA
  432. (called DiskTools II)}i. This new version does all that DiskTop does and
  433. much more, and is far faster and easier to use. All the other DAs have
  434. been re-vamped as well.
  435.  
  436. Hope this info helps,
  437.  
  438. Evan Gross (Author of BatteryPak & DiskTools Plus)
  439.  
  440.  
  441. ------------------------------
  442.  
  443. From: kleef@cs.vu.nl (Patrick van Kleef)
  444. Subject: Disable SE internal harddisk
  445. Date: 9 Sep 87 10:02:09 GMT
  446. Organization: V.U. Informatica, Amsterdam, the Netherlands
  447.  
  448. I tried just about anything, but I can't seem to find the
  449. key-combination to make the internal harddisk 'invisible' at startup.
  450.  
  451. Believe it was something like command-shift-control-delete..
  452.  
  453. Anyone?
  454.  
  455.  
  456. ------------------------------
  457.  
  458. From: mccrosky@sask.UUCP (Carl Mccrosky)
  459. Subject: VLSI tools on Mac-2's?
  460. Date: 4 Sep 87 14:49:14 GMT
  461. Organization: University of Saskatchewan
  462.  
  463.  
  464. Has anyone ported any of the widespread VLSI layout tools to Mac-2's?
  465.  
  466.                         carl mccrosky
  467.                         mccrosky@sask.bitnet
  468.  
  469.  
  470. ------------------------------
  471.  
  472. From: mrh@Shasta.STANFORD.EDU (Marc Hannah)
  473. Subject: MPW C 2.0 interfaces into ColorQuickDraw
  474. Date: 9 Sep 87 06:57:43 GMT
  475. Organization: Stanford University
  476.  
  477.  
  478.    I have run into problems trying to use the two new Color QuickDraw
  479. (WM)
  480.    calls GetNewCWindow and CopyPix. I recall recently reading that these
  481.    calls have been eliminated or renamed. This is believable since the
  482.    linker cannot resolve references to these calls. I seem to recall
  483. that
  484.    the CopyPix call has been eliminated and is replaced by a plain old
  485.    CopyBits call with pixmaps instead of bitmaps. Is this true? 
  486.       I am at a loss to figure out where the GetNewCWindow call went to.
  487.    Any help there?  
  488.  
  489.    Thanks all, David Gelphman  
  490. daveg%slacvm.bitnet@forsythe.stanford.edu
  491.  
  492.  
  493. ------------------------------
  494.  
  495. From: gustav@swanee.OZ (Gustav)
  496. Subject: Scientific graphics desperately wanted
  497. Date: 4 Sep 87 14:08:33 GMT
  498. Organization: El. & El. Eng., Uni. of Western Australia
  499.  
  500. I am searching desperately for decent scientific graphics for Mac (SE). 
  501. The graphics to be called decent should have at least:
  502.  
  503.    error bars, curve smoothing, 3-D plots, contour plots, log-log,
  504.    log-linear, Smith's Charts, curve fitting, hidden line removal
  505.  
  506. They should also know how to read data from other files (text), how to
  507. operate plotters and how to write tektronix and/or postscript format
  508. graphics.
  509.  
  510. I've been searching both for an application type program, as well, as
  511. for a library (C or Pascal) to be used under MPW. Things like Cricket
  512. graphics don't really do the job. Please, let me know, if you know!
  513.  
  514.     Yours in anticipation:
  515.  
  516.    ARPA :    gustav%swanee.oz@seismo.css.gov
  517.    UUCP :    ...!{seismo,mcvax,ucb-vision,uks}!munnari!swanee.oz!gustav
  518.    snail:    Gustav Meglicki, Microelectronics Research Group,
  519.          Department of Electrical and Electronic Engineering,
  520.          The University of Western Australia, 
  521.          Crawley, W.A. 6009, AUSTRALIA
  522.  
  523.  
  524. ------------------------------
  525.  
  526. From: jteh@mulga.oz (J.T. Teh)
  527. Subject: Re: Rotation Algorithm wanted
  528. Date: 9 Sep 87 08:59:16 GMT
  529. Organization: Comp Sci, Melbourne Uni, Australia
  530.  
  531. Thanks for all those who replied to my post requesting a rotation
  532. algorithm that would solve the problem of the rotated sihloutte having
  533. "holes".
  534.  
  535. The main algorithm that would solve the above problem is to do the map
  536. backwards and test if the unrotated pixel was set. However, no faster
  537. algorithm was suggested. My current algorithm still scans the whole
  538. array (a 200 by 200 in about 1 minute 30 seconds with optimisation by
  539. removing multiplications and divisions from the loops).
  540.  
  541. I would still like to know if there is a fast algorithm for doing a
  542. rotation as in SuperPaint which can do it in less than 2 seconds.
  543.  
  544. Below are the replies I received.
  545. ---------------------------------------------------------------------------
  546. >From: sho@tybalt.caltech.edu (Sho Kuwamoto)
  547.  
  548. Re: rotations
  549.  
  550. This is a typical problem with any graphics operation involving
  551. stretching, rotations, or any type of distortion.  The solution is to do
  552. the map backwards. Take every point in your target, and map it back to
  553. its corresponding point in the source.  
  554.  
  555. What kind of work are you doing?  I helped a friend of mine on this
  556. exact topic.  He was working on some sort of vision related program
  557. which dealt with some things called textons.  I don't know what they
  558. are, but I though you might.  
  559.  
  560.                         -Sho
  561. -----------------------------------------------------------------------------
  562. >From: uunet!rutgers!moss!codas!auscso!mentat (Robert Dorsett)
  563.  
  564.  
  565. I've faced similar problems, but with 3d generation algorithms.  I don't
  566. know of any better algorithms, but you might want to try one of the
  567. following two  techniques:
  568.  
  569. 1.  Don't use the SANE transcendental package more than once.  That is,
  570. create a lookup table and put the SANE cos and sin values in it.  If you
  571. need single- degree precision, just use something like
  572.     double cos[360],sin[360] If you need mixed-point precision, you can
  573. iterate an in-between value with great accuracy.  SANE is SLOW.
  574.  
  575. 2.  Depending on your aplication, you MIGHT find the type "FIXED" or
  576. "LONGINT" to be somewhat useful in calculations.  Particularly with
  577. Longint, if you can somehow skip between-point numbers, you can totally
  578. avoid the floating-point bog by simply setting your lookup table to,
  579. say, four digits of accuracy.  A 0.7071 number, for example, would exist
  580. in the lookup table as 7071.  If you need X cos[X] (where X===7071, it'd
  581. just be one multiply (X7071) and one div- ide (X7071/10000).  You do
  582. lose a bit of precision if you lose track of your original matrix and
  583. continue to rotate an already-rotated matrix, though.
  584.  
  585. For references, I recommend Foley and Van Dam's "Fundamentals of
  586. Interactive  Computer Graphics" and, for a modern update, Artwick's
  587. "Microcomputer Diplays, Graphics, and Animation."  Artwick's book is a
  588. bit more elementary than the Foley/Van Dam book, but has better sections
  589. on numerical techniques and a  really good section on hardware
  590. technology.  It's more applications-oriented.
  591.  
  592. Robert
  593.  
  594. ---------------------------------------------------------------------------
  595. >From: sun!rainier!dchen (David Chenevert)
  596.  
  597.     What you're doing is taking each pixel in a source rectangle and
  598. dropping it into a destination 'diamond' (rotated rectangle), right? 
  599. And some of the pixels in the destination diamond don't get anything
  600. dropped on them, right?  How about the following:  Take each pixel in
  601. the destination diamond, back-compute which pixel should be copied into
  602. it, and do that copy. This will assure that each destination pixel gets
  603. written on.
  604.     No faster than before, but better results, I think.
  605.  
  606. ----------------------------------------------------------------------------
  607.  
  608. If you  have an answer on this one, please let me also know. Im trying
  609. to get a quick algorithm for converting a flat-image to a bol-image.
  610.  
  611. The problems involved seem the same.
  612.  
  613. One of the hints is: make a table for sine, cosine from 0 - 90 degrees
  614. in  float numbers, steps of 1/4 degree. This will take you 4 bytes * 90
  615. degrees * 4 entrys per degree * 2 tables ==>> not too much space if you
  616. take a global predefined array.
  617.  
  618. Piter Jonker Hilversum, Holland.
  619.  
  620. ihnp4!hvlpa!pjonker.
  621.  
  622. ------------------------------------------------------------------------------
  623. >From: Ken "Turk" Turkowski <turk@apple>
  624.  
  625. Try defining a polygon, rotating the polygon vertices, and filling the
  626. resultant polygon.
  627.  
  628. ------------------------------------------------------------------------------
  629.  
  630. The suggestion by Ken 'Turk' Turkowski seems the faster algorithm for my
  631. particular problem but is there a faster _general_ rotation algorithm?
  632.  
  633. Thanks to all who replied in response to my query.
  634.  
  635. J.T. Teh ===========================
  636. UUCP:    {seismo,mcvax,ukc,ubc-vision}!mulga!jteh
  637. ARPA:    jteh%mulga.oz@seismo.css.gov CSNET:    jteh%mulga.oz@australia
  638.  
  639.  
  640. ------------------------------
  641.  
  642. From: leeke@glacier.STANFORD.EDU (Steven D. Leeke)
  643. Subject: Re: VLSI tools on Mac-2's?
  644. Date: 9 Sep 87 15:19:32 GMT
  645. Organization: Stanford University
  646.  
  647. A recent MS graduate from Stanford who is a major player in Apple's A/UX
  648. development team and another student still here ported UCB's Magic over
  649. to AU/X under X just before AppleWorld earlier this year.  Total port
  650. time was ~11 hours - straight.  They cut the tape/floppies(?) two hours
  651. before taking off from SFO.  I have no idea if Apple will support either
  652. X or release a Magic port.
  653.  
  654. Steve Leeke
  655.  
  656. -- 
  657. Steven D. Leeke, Center for Integrated Systems, Stanford University
  658.     {ucbvax,decvax}!decwrl!glacier!leeke, leeke@glacier.stanford.edu
  659.  
  660. "I suppose they don't use money in the 23rd century?"
  661.  
  662. ------------------------------
  663.  
  664. End of Usenet Mac Digest
  665. ************************
  666. -------
  667. -------
  668.